package com.zhangyj.db;

import java.sql.Connection;
import java.sql.SQLException;

public class Database extends DBConnection {
	public Database(Connection conn) {
		super(conn);
	}

	@Override
	public void close() throws SQLException {
		DBUtil.log.warn("应该使用DBUtil.close()", Thread.currentThread());
	}
	
	public void closeDB() throws SQLException {
		super.close();
	}
}